/*
 * File:   SystemMessage.h
 * Author: henrya
 *
 * Created on June 27, 2009, 5:30 PM
 */

#ifndef _SYSTEMMESSAGE_H
#define	_SYSTEMMESSAGE_H

#include "Message.h"
#include <stdlib.h>
#include <string>
using std::string;



class SystemMessage :public Message {
public:
    enum MessageType {KILL_NODE, REVIVE_NODE, PRINT_RT,SEND_PACKET};
    SystemMessage(MessageType type,string* additionalData=NULL);
    virtual ~SystemMessage();
    virtual void* getMessage();
    string* getAdditionalData();
private:
    MessageType type;
    string* additionalData;
};

#endif	/* _SYSTEMMESSAGE_H */

